<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>注册界面</title>
        <link rel="stylesheet" type="text/css" href="css/font.css"/>
        <link rel="stylesheet" type="text/css" href="css/zhuce.css"/>
		<script type="text/javascript" src="./js/tool.js"></script>
    </head>
    <body>
		<% String result = (String)request.getAttribute("result"); %>
		<h1><%=result %></h1>
    	<div id="zhuce_all">
    		<div id="zhuce_main">
    			<form action="login?method=adduser" method="post">
    			<h2 style="margin: 20px 0px 0px 35px;">米其林餐厅用户注册</h2>
    			<ul id="zhuce_form">
    				<li><p>用户名</p><input type="text" name="uname" class="input_tx" /><p></p></li>
    				<li><p>密码</p><input type="text" name="upass" class="input_tx" /></li>
    				<li><p>验证码</p>
						<input type="text" id="ckNode" name="ckNode" size="4" maxlength="4" class="input_tx" />
						<img src="${pageContext.request.contextPath}/01_image.jsp" id="img_code"/>
						<input type="button" value="看不清"  onclick="butChange()" />
						<span id="sid"></span>
						<script type="text/javascript" src="./js/ckCode.js"></script>
					</li>
    				<li>
    					<input type="submit" value="注册" class="input_sb"/>
    				</li>
    			</ul>
    			</form>
    		</div>
    	</div>
 	</body>
</html>